package design.patterns.mediator;

/**
 * desc     :
 * dateTime : 2020-06-14 17:50
 *
 * @author wwchen
 */
public class MainTest {
    public static void main(String[] args) {
        ConcreteMediator mediator = new ConcreteMediator();
        mediator.createConcreteMediator();
        Colleague1 c1 = new Colleague1(mediator);
        Colleague2 c2 = new Colleague2(mediator);
        mediator.colleagueChange(c1);
    }
}
